package com.hzw.saas.web.admin.hpc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description
 * @Date 2021/7/16 1:02 下午
 * @Created by sonam
 */
@Data
@Accessors(chain = true)
@ApiModel("合同信息")
public class HpcContractDTO {

    @ApiModelProperty(value = "合同主键")
    private String pid;

    @ApiModelProperty(value = "合同名称")
    private String contractName;

    @ApiModelProperty(value = "合同编号")
    private String contractNo;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "用户真实姓名")
    private String realName;

    @ApiModelProperty(value = "手机号码")
    private String phoneNo;

    @ApiModelProperty(value = "用户邮箱")
    private String email;

    @ApiModelProperty(value = "合同金额")
    private Double contractAmount;

    @ApiModelProperty(value = "购买的算力")
    private Double coreTime;

    @ApiModelProperty(value = "到期时间")
    private Date expireTime;

    @ApiModelProperty(value = "HPC账号ID")
    private String hpcAccountId;

    @ApiModelProperty(value = "HPC账号名称")
    private String hpcAccount;

    @ApiModelProperty(value = "HPC-RECORD-ID")
    private String hpcAccountRecordId;

    @ApiModelProperty(value = "消耗算力")
    private double consumeCoreTime;

    @ApiModelProperty(value = "登记时间")
    private Date busTime;

    @ApiModelProperty(value = "合同状态文本")
    private String statusText;

    @ApiModelProperty(value = "合同状态码")
    private Integer statusCode;

    @ApiModelProperty(value = "合同类型，1-正式合同，2-试用合同")
    private Integer contractType;

    @ApiModelProperty(value = "合同供应商类型")
    private String providerCode;
}
